package com.meizi.mall.product.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021/1/27 15:38
 */
@ConfigurationProperties(
        prefix = "thread.pool"
)
@Data
public class ExecutorPoolConfig {
    int corePoolSize=5;
    int maximumPoolSize=20;
    long keepAliveTime=30;
}
